package com.rc.saas.tenant.service.weixin;

import com.rc.saas.tenant.common.vo.TResponse;
import com.rc.saas.tenant.dto.TransPayWalletResultDto;
import com.rc.saas.tenant.model.member.MemberInfo;
import com.rc.saas.tenant.model.tenant.Tenant;
import com.rc.saas.tenant.model.tenant.TenantSetting;
import com.rc.saas.tenant.transfers.weixin.WxTransPayBankVo;
import org.weixin4j.pay.model.paywallet.TransPayWalletResult;

import javax.servlet.http.HttpServletRequest;

/**
 * 企业付款到银行卡
 * Created by Sven on 2021/12/24
 */
public interface WxPayBankService {
    /**
     * 企业付款到银行卡
     */
    TResponse transPayBank(HttpServletRequest request, Tenant tenant, MemberInfo memberInfo, WxTransPayBankVo transPayBankVo, TenantSetting tenantSetting);

    /**
     * 企业付款到银行卡
     */
    TransPayWalletResult transPayBank(TransPayWalletResultDto transPayWalletResultDto);

}
